<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html>
<head>
	<meta charset="utf-8" />
	<title>Konferencje</title>
	<link href="<c:url value="/resources/css/bootstrap.min.css" />" rel="stylesheet" />
<style>

body {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #eee;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

</style>
</head>
<body>
	<div class="container">
	<form commandName="USER" method="post" id="loginForm" class="form-signin" role="form" name="login">
		<h2 class="form-signin-heading">Rejestracja</h2><br/>
		<form:errors path="*" cssStyle="color : red;" />
		<input type="text" name="username" class="form-control" placeholder="Nazwa użytkownika" required autofocus /><br/>
		<input type="password" name="password" class="form-control" placeholder="Hasło" required /><br/>
		<input type="text" name="firstname" class="form-control" placeholder="Imie" required autofocus /><br/>
		<input type="text" name="lastname" class="form-control" placeholder="Nazwisko" required autofocus /><br/>
		<input type="text" name="email" class="form-control" placeholder="E-mail" required autofocus /><br/>
		<button class="btn  btn-primary btn-block" type="submit">Zapisz</button><br/>
	</form>
	</div>
</body>
</html>

